package com.mocha.service;

import com.mocha.dao.UserDao;
import com.mocha.domain.entity.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {

    @Autowired
    private UserDao userDao;

    public User getUser(String name){
        return userDao.getUser(name);
    }

}



